@isTest
private class vefCtlr_Tests {

    public static testMethod void testMyController() 
    {
        PageReference pageRef = Page.vef;
        Test.setCurrentPage(pageRef);
        vef_ctlr controller = new vef_ctlr();
        
        List<SelectOption> TestOptions = new List<SelectOption>();
        TestOptions = controller.getCompanies();
        TestOptions = controller.getTitles();
        
        PageReference Pg;
        Pg = controller.ResetApplication();
        Pg = controller.ToMainMenu();
        Pg = controller.CreateApplication();
        
        controller.Application.TAMM_VIP_Service__c = true;
        controller.Application.Visa_Number__c = '8754524';
        controller.visaIssueDate = String.ValueOf(Date.TODAY());
        
        controller.Application.Title__c = 'Mr';
        controller.Application.First_Name__c = 'Cloud';
        controller.Application.Middle_Name__c = 'S';
        controller.Application.Last_Name__c = 'Concept';
        controller.Application.Passport_Number__c = '2345678AS';
        controller.passportExpiryDate = String.ValueOf(Date.TODAY());
        
       
        Account acc = [SELECT id, name FROM Account LIMIT 1];
        controller.Application.Company_Name__c = acc.id;
        controller.Application.Name_of_Authorized_Signatory__c = 'SOMEONE';
        controller.companyDate = String.ValueOf(Date.TODAY());
        
        Pg = controller.CreateApplication();
    }
}